﻿
namespace FlexiCommerce.Web.Store.Addons.FlexiCommerce.Definitions
{
    public class MaxItemsPerLevelAttribute : N2.Integrity.TypeIntegrityAttribute
    {
        private int count = 0;
        public MaxItemsPerLevelAttribute(int count)
      
        {
            this.count = count;
        }

        public int Count
        {
            get { return count; }
            set { count = value; }
                
        }

        public override void Refine(N2.Definitions.ItemDefinition currentDefinition, System.Collections.Generic.IList<N2.Definitions.ItemDefinition> allDefinitions)
        {
           
        }
    }
}